
<?php
class Hotel
{
	private $hotel;
	
	public function Hotel($hotel_data)
	{
		$this->hotel=$hotel_data;
	}
	
	
	function GetOrder()
	{
		return $this->hotel->{"@order"};
	}
	
	function GetHotelId()
	{
		return $this->hotel->{"hotelId"};
	}
	
	function GetName()
	{
		return $this->hotel->{"name"};
	}
	
	function GetAddressOne()
	{
		return $this->hotel->{"address1"};	
	}
	
	function GetAddressTwo()
	{
		return $this->hotel->{"address2"};	
	}
	
	function GetCity()
	{
		return $this->hotel->{"city"};	
	}
	
	function GetStateProvinceCode()
	{
		return $this->hotel->{"stateProvinceCode"};	
	}
	
	function GetPostalCode()
	{
		return $this->hotel->{"postalCode"};	
	}
	
	function GetCountryCode()
	{
		return $this->hotel->{"countryCode"};	
	}
	
	function GetAirportCode()
	{
		return $this->hotel->{"airportCode"};	
	}
	
	function GetSupplierType()
	{
		return $this->hotel->{"supplierType"};	
	}
	
	function GetPropertyType()
	{
		return $this->hotel->{"propertyCategory"};	
	}
	
	function GetHotelRating()
	{
		

		return $this->hotel->{"hotelRating"};	
	}
	
	function GetConfidenceRating()
	{
		return $this->hotel->{"confidenceRating"};	
	}
	
	function GetAmenityMask()
	{
		return $this->hotel->{"amenityMask"};	
	}
	
	function GetLocationDescription()
	{
		return $this->hotel->{"locationDescription"};	
	}
	
	function GetShortDescription()
	{
		return $this->hotel->{"shortDescription"};	
	}
	
	function GetHighRate()
	{
		return $this->hotel->{"highRate"};	
	}
	
	function GetLowRate()
	{
		return $this->hotel->{"lowRate"};	
	}
	
	function GetRateCurrencyCode()
	{
		return $this->hotel->{"rateCurrencyCode"};	
	}
	
	function GetLatitude()
	{
		return $this->hotel->{"latitude"};	
	}
	
	function GetLongitude()
	{
		return $this->hotel->{"longitude"};	
	}
	
	function GetProximityDistance()
	{
		return $this->hotel->{"proximityDistance"};	
	}
	
	function GetProximityUnit()
	{
		return $this->hotel->{"proximityUnit"};	
	}
	
	function GetHotelInDestination()
	{
		return $this->hotel->{"hotelInDestination"};	
	}
	
	function GetThumbnailUrl()
	{
		return "http://images.travelnow.com/".$this->hotel->{"thumbNailUrl"};	
	}
	
	function GetDeepLink()
	{
		return $this->hotel->{"deepLink"};	
	}
	
	function GetRoomRateDetailsList()
	{
		return $this->hotel->{"@RoomRateDetailsList"};

	}
}
?>